package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;
import java.util.Date;

public class DrgsVersionManageDTO implements Serializable {
	
	private static final long serialVersionUID = -2853521744632476385L;
	       //版本编码
			private String verCode;
			
			//版本名称
			private String verDesc;
			
			//ICD9版本
			private String icd9Version;
					
			//ICD10版本
			private String icd10Version;
					
			//地区代码  BJ-北京临床版  CN-全国标准版
			private String regionCode;
					
			//添加日期
			private Date addDate;
			
			public String getVerCode() {
				return verCode;
			}

			public void setVerCode(String verCode) {
				this.verCode = verCode;
			}

			public String getVerDesc() {
				return verDesc;
			}

			public void setVerDesc(String verDesc) {
				this.verDesc = verDesc;
			}

			public String getIcd9Version() {
				return icd9Version;
			}

			public void setIcd9Version(String icd9Version) {
				this.icd9Version = icd9Version;
			}

			public String getIcd10Version() {
				return icd10Version;
			}

			public void setIcd10Version(String icd10Version) {
				this.icd10Version = icd10Version;
			}

			public String getRegionCode() {
				return regionCode;
			}

			public void setRegionCode(String regionCode) {
				this.regionCode = regionCode;
			}

			

			public Date getAddDate() {
				return addDate;
			}

			public void setAddDate(Date addDate) {
				this.addDate = addDate;
			}
			
			@Override
			public int hashCode() {
				final int prime = 31;
				int result = 1;
				result = prime * result
						+ ((verCode == null) ? 0 : verCode.hashCode());
				return result;
			}

			@Override
			public boolean equals(Object obj) {
				if (this == obj)
					return true;
				if (obj == null)
					return false;
				if (getClass() != obj.getClass())
					return false;
				DrgsVersionManageDTO other = (DrgsVersionManageDTO) obj;
				if (verCode == null) {
					if (other.verCode != null)
						return false;
				} else if (!verCode.equals(other.verCode))
					return false;
				return true;
			}	
			
}
